package com.test.textGame.service;


import com.test.textGame.domain.Player;
import com.test.textGame.dto.Score;
import org.apache.rocketmq.client.exception.MQClientException;

import java.util.List;

/**
 *  Auto created by codeAppend plugin
 */
public interface Top10Service {

    /**
     * 对slaver发来的玩家和分数进行topK排序
     * @param player
     * @param gameScore
     */
    void consumeSlaverMsg(Player player, Integer gameScore) throws MQClientException;

}